
import Home from "@/pages/home";
import SysConfig from "@/pages/sys/config";
import SysDict from "@/pages/sys/dict";
import SysMenus from "@/pages/sys/menus";
import OrgMember from "@/pages/sys/orgMember";
import SysRole from "@/pages/sys/role";

type RouterDataType = typeof routersData;
export type RouterKeys = keyof RouterDataType;


export const routersData = [
  {
    path: "/home",
    element: Home,
  },
  {
    path: "/sys/config",
    element: SysConfig,
  },
  {
    path: "/sys/dict",
    element: SysDict,
  },
  {
    path: "/sys/menu",
    element: SysMenus,
  },
  {
    path: "/sys/role",
    element: SysRole,
  },
  {
    path: "/sys/orgMember",
    element: OrgMember,
  },
];
